<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: kern/mm/pmm.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_b3dad8e81b3f37b89b2bf0a8abb2d993.html">kern</a></li><li class="navelem"><a class="el" href="dir_946bd77349b7674f752759d0c55831d4.html">mm</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">函数</a> &#124;
<a href="#var-members">变量</a>  </div>
  <div class="headertitle">
<div class="title">pmm.c 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="default__pmm_8h_source.html">default_pmm.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="defs_8h_source.html">defs.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="error_8h_source.html">error.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="memlayout_8h_source.html">memlayout.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="mmu_8h_source.html">mmu.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="pmm_8h_source.html">pmm.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="sbi_8h_source.html">sbi.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="stdio_8h_source.html">stdio.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="string_8h_source.html">string.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="swap_8h_source.html">swap.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="sync_8h_source.html">sync.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="vmm_8h_source.html">vmm.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="riscv_8h_source.html">riscv.h</a>&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
pmm.c 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c__incl.gif" border="0" usemap="#akern_2mm_2pmm_8c" alt=""/></div>
<map name="akern_2mm_2pmm_8c" id="akern_2mm_2pmm_8c">
<area shape="rect" title=" " alt="" coords="527,5,657,32"/>
<area shape="rect" href="default__pmm_8h.html" title=" " alt="" coords="181,80,302,107"/>
<area shape="rect" href="pmm_8h.html" title=" " alt="" coords="189,155,257,181"/>
<area shape="rect" href="defs_8h.html" title=" " alt="" coords="427,379,490,405"/>
<area shape="rect" href="memlayout_8h.html" title=" " alt="" coords="293,229,403,256"/>
<area shape="rect" href="mmu_8h.html" title=" " alt="" coords="562,304,630,331"/>
<area shape="rect" href="error_8h.html" title=" " alt="" coords="1053,80,1117,107"/>
<area shape="rect" href="sbi_8h.html" title=" " alt="" coords="680,155,733,181"/>
<area shape="rect" href="stdio_8h.html" title=" " alt="" coords="761,80,828,107"/>
<area shape="rect" href="string_8h.html" title=" " alt="" coords="907,229,978,256"/>
<area shape="rect" href="swap_8h.html" title=" " alt="" coords="407,80,475,107"/>
<area shape="rect" href="vmm_8h.html" title=" " alt="" coords="482,155,550,181"/>
<area shape="rect" href="sync_8h.html" title=" " alt="" coords="629,229,693,256"/>
<area shape="rect" href="riscv_8h.html" title=" " alt="" coords="784,304,848,331"/>
<area shape="rect" href="assert_8h.html" title=" " alt="" coords="93,229,168,256"/>
<area shape="rect" href="atomic_8h.html" title=" " alt="" coords="199,304,278,331"/>
<area shape="rect" href="list_8h.html" title=" " alt="" coords="431,304,486,331"/>
<area shape="rect" href="stdarg_8h.html" title=" " alt="" coords="757,155,832,181"/>
<area shape="rect" href="intr_8h.html" title=" " alt="" coords="654,304,709,331"/>
</map>
</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a9aaa81257f14b4dd426109afeafbdd37"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#a9aaa81257f14b4dd426109afeafbdd37">check_alloc_page</a> (void)</td></tr>
<tr class="separator:a9aaa81257f14b4dd426109afeafbdd37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf14b3e5a214e25093c526c6c4b7fe51"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51">check_pgdir</a> (void)</td></tr>
<tr class="separator:abf14b3e5a214e25093c526c6c4b7fe51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64a19ba41a865e4d76a7edef472a25f0"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#a64a19ba41a865e4d76a7edef472a25f0">check_boot_pgdir</a> (void)</td></tr>
<tr class="separator:a64a19ba41a865e4d76a7edef472a25f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefb49cb1500105bdf41013fd5aa58ac7"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#aefb49cb1500105bdf41013fd5aa58ac7">init_pmm_manager</a> (void)</td></tr>
<tr class="separator:aefb49cb1500105bdf41013fd5aa58ac7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1324899ab978eeaf6ead3881ddc1b088"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#a1324899ab978eeaf6ead3881ddc1b088">init_memmap</a> (struct <a class="el" href="struct_page.html">Page</a> *base, <a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a> n)</td></tr>
<tr class="separator:a1324899ab978eeaf6ead3881ddc1b088"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2055a0254d79140f1adf784b9b07fea"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="struct_page.html">Page</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#ae2055a0254d79140f1adf784b9b07fea">alloc_pages</a> (<a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a> n)</td></tr>
<tr class="separator:ae2055a0254d79140f1adf784b9b07fea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5bf600e8b5ab88df053b90d965c9482"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#af5bf600e8b5ab88df053b90d965c9482">free_pages</a> (struct <a class="el" href="struct_page.html">Page</a> *base, <a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a> n)</td></tr>
<tr class="separator:af5bf600e8b5ab88df053b90d965c9482"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc1a40cd35d7497eef920fbc9219ff0e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#acc1a40cd35d7497eef920fbc9219ff0e">nr_free_pages</a> (void)</td></tr>
<tr class="separator:acc1a40cd35d7497eef920fbc9219ff0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acacf21996cd41f3fab68113860df0a22"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#acacf21996cd41f3fab68113860df0a22">page_init</a> (void)</td></tr>
<tr class="separator:acacf21996cd41f3fab68113860df0a22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6c5d8205e0cd0fe146848228a7a017a"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#ac6c5d8205e0cd0fe146848228a7a017a">enable_paging</a> (void)</td></tr>
<tr class="separator:ac6c5d8205e0cd0fe146848228a7a017a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3af0918f7edad53db84fb434d4553c1"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#af3af0918f7edad53db84fb434d4553c1">boot_map_segment</a> (<a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *pgdir, <a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> la, <a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a> size, <a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> pa, <a class="el" href="defs_8h.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> perm)</td></tr>
<tr class="memdesc:af3af0918f7edad53db84fb434d4553c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">setup and enable the paging mechanism  <a href="pmm_8c.html#af3af0918f7edad53db84fb434d4553c1">更多...</a><br /></td></tr>
<tr class="separator:af3af0918f7edad53db84fb434d4553c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29400c76283fbe787c88dd899595af2b"><td class="memItemLeft" align="right" valign="top">static void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#a29400c76283fbe787c88dd899595af2b">boot_alloc_page</a> (void)</td></tr>
<tr class="separator:a29400c76283fbe787c88dd899595af2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4a8f7b822fc87d04d74adeb3b2ce6da"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da">pmm_init</a> (void)</td></tr>
<tr class="separator:af4a8f7b822fc87d04d74adeb3b2ce6da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02acb8e4d598f04b9655befb6029d19c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="memlayout_8h.html#ae97b82aa50ed8ad4c79b1d8b8fb53836">pte_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c">get_pte</a> (<a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *pgdir, <a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> la, <a class="el" href="defs_8h.html#a1062901a7428fdd9c7f180f5e01ea056">bool</a> create)</td></tr>
<tr class="separator:a02acb8e4d598f04b9655befb6029d19c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8d2b93cd8003ac07e8863af1ee60cde"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="struct_page.html">Page</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#ad8d2b93cd8003ac07e8863af1ee60cde">get_page</a> (<a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *pgdir, <a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> la, <a class="el" href="memlayout_8h.html#ae97b82aa50ed8ad4c79b1d8b8fb53836">pte_t</a> **ptep_store)</td></tr>
<tr class="separator:ad8d2b93cd8003ac07e8863af1ee60cde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a047ec20d182919d237ee4bf278b4695b"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#a047ec20d182919d237ee4bf278b4695b">page_remove_pte</a> (<a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *pgdir, <a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> la, <a class="el" href="memlayout_8h.html#ae97b82aa50ed8ad4c79b1d8b8fb53836">pte_t</a> *ptep)</td></tr>
<tr class="separator:a047ec20d182919d237ee4bf278b4695b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adae5703d585cd0ce51183278b594bad3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#adae5703d585cd0ce51183278b594bad3">page_remove</a> (<a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *pgdir, <a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> la)</td></tr>
<tr class="separator:adae5703d585cd0ce51183278b594bad3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fa283dec28e3409f8f4b6d35860cb4b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b">page_insert</a> (<a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *pgdir, struct <a class="el" href="struct_page.html">Page</a> *page, <a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> la, <a class="el" href="defs_8h.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> perm)</td></tr>
<tr class="separator:a6fa283dec28e3409f8f4b6d35860cb4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a6a3f83d69815b453aea9121f46a6ed"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#a3a6a3f83d69815b453aea9121f46a6ed">tlb_invalidate</a> (<a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *pgdir, <a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> la)</td></tr>
<tr class="separator:a3a6a3f83d69815b453aea9121f46a6ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a682ec852da4ba9f942d14dd940c9dc50"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="struct_page.html">Page</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#a682ec852da4ba9f942d14dd940c9dc50">pgdir_alloc_page</a> (<a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *pgdir, <a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> la, <a class="el" href="defs_8h.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> perm)</td></tr>
<tr class="separator:a682ec852da4ba9f942d14dd940c9dc50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e2dc4d71325ce9ddba783b4289e8e75"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#a8e2dc4d71325ce9ddba783b4289e8e75">kmalloc</a> (<a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a> n)</td></tr>
<tr class="separator:a8e2dc4d71325ce9ddba783b4289e8e75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab66b2fd61c3ed722ba79fdaab776029f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#ab66b2fd61c3ed722ba79fdaab776029f">kfree</a> (void *ptr, <a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a> n)</td></tr>
<tr class="separator:ab66b2fd61c3ed722ba79fdaab776029f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
变量</h2></td></tr>
<tr class="memitem:a5c8561a52c4cda29a9be7dc7be92c771"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="struct_page.html">Page</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#a5c8561a52c4cda29a9be7dc7be92c771">pages</a></td></tr>
<tr class="separator:a5c8561a52c4cda29a9be7dc7be92c771"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d8e8c6eeec8c5e988ecea5d898e7737"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#a7d8e8c6eeec8c5e988ecea5d898e7737">npage</a> = 0</td></tr>
<tr class="separator:a7d8e8c6eeec8c5e988ecea5d898e7737"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34eba112423c8481417b93f8dd0f9ee6"><td class="memItemLeft" align="right" valign="top">uint_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#a34eba112423c8481417b93f8dd0f9ee6">va_pa_offset</a></td></tr>
<tr class="separator:a34eba112423c8481417b93f8dd0f9ee6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7ebf0f48e3e27066f5ce9c2f31707a1"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#ae7ebf0f48e3e27066f5ce9c2f31707a1">nbase</a> = <a class="el" href="riscv_8h.html#af664e1a9045803369e50e29fdc1ca530">DRAM_BASE</a> / <a class="el" href="mmu_8h.html#a5f96cb6ae6670e023c407cc2f77e1704">PGSIZE</a></td></tr>
<tr class="separator:ae7ebf0f48e3e27066f5ce9c2f31707a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e27015f20756014fc8a45df69e7ddb6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#a0e27015f20756014fc8a45df69e7ddb6">boot_pgdir</a> = <a class="el" href="defs_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a></td></tr>
<tr class="separator:a0e27015f20756014fc8a45df69e7ddb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98084074f2524047e21ca23ca88c837b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#a98084074f2524047e21ca23ca88c837b">boot_cr3</a></td></tr>
<tr class="separator:a98084074f2524047e21ca23ca88c837b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cd8b7454d0faea627c35ad822ef9a4a"><td class="memItemLeft" align="right" valign="top">const struct <a class="el" href="structpmm__manager.html">pmm_manager</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8c.html#a0cd8b7454d0faea627c35ad822ef9a4a">pmm_manager</a></td></tr>
<tr class="separator:a0cd8b7454d0faea627c35ad822ef9a4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">函数说明</h2>
<a id="ae2055a0254d79140f1adf784b9b07fea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2055a0254d79140f1adf784b9b07fea">&#9670;&nbsp;</a></span>alloc_pages()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="struct_page.html">Page</a>* alloc_pages </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a>&#160;</td>
          <td class="paramname"><em>n</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_ae2055a0254d79140f1adf784b9b07fea_cgraph.gif" border="0" usemap="#apmm_8c_ae2055a0254d79140f1adf784b9b07fea_cgraph" alt=""/></div>
<map name="apmm_8c_ae2055a0254d79140f1adf784b9b07fea_cgraph" id="apmm_8c_ae2055a0254d79140f1adf784b9b07fea_cgraph">
<area shape="rect" title=" " alt="" coords="5,233,104,260"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="307,208,371,235"/>
<area shape="rect" href="swap_8c.html#a8b0c44bb44fc801d843522eefc8b43ac" title=" " alt="" coords="152,259,236,285"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="466,157,538,184"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="630,56,695,83"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="621,157,704,184"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="764,5,851,32"/>
<area shape="rect" href="sbi_8h.html#a99638b95984187102dd50b1d0b430d3b" title=" " alt="" coords="899,5,1053,32"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="777,157,837,184"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="773,208,841,235"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="770,259,845,285"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="767,56,848,83"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="774,107,841,133"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="467,309,537,336"/>
<area shape="rect" href="swapfs_8c.html#a41793685a63e0f8e2d48695566bc75bb" title=" " alt="" coords="285,411,393,437"/>
<area shape="rect" href="pmm_8c.html#a3a6a3f83d69815b453aea9121f46a6ed" title=" " alt="" coords="284,259,395,285"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="625,208,701,235"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="623,411,702,437"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="764,360,851,387"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="617,309,708,336"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="609,360,716,387"/>
<area shape="rect" href="ide_8c.html#a1d381d983b9bc07a2a4b636ed1997174" title=" " alt="" coords="443,461,561,488"/>
<area shape="rect" href="pmm_8h.html#a3aa177386346f37eaadf16359ef44da7" title=" " alt="" coords="459,411,545,437"/>
<area shape="rect" href="string_8c.html#a18d9a75dd16f2db6609538cb4ddedaf1" title=" " alt="" coords="623,461,702,488"/>
<area shape="rect" href="pmm_8h.html#af481d80989da3c646996210195814878" title=" " alt="" coords="463,259,541,285"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_ae2055a0254d79140f1adf784b9b07fea_icgraph.gif" border="0" usemap="#apmm_8c_ae2055a0254d79140f1adf784b9b07fea_icgraph" alt=""/></div>
<map name="apmm_8c_ae2055a0254d79140f1adf784b9b07fea_icgraph" id="apmm_8c_ae2055a0254d79140f1adf784b9b07fea_icgraph">
<area shape="rect" title=" " alt="" coords="783,31,881,57"/>
<area shape="rect" href="default__pmm_8c.html#a7ed27f53388f855a738e2457f5de682e" title=" " alt="" coords="621,5,735,32"/>
<area shape="rect" href="pmm_8c.html#a8e2dc4d71325ce9ddba783b4289e8e75" title=" " alt="" coords="641,56,715,83"/>
<area shape="rect" href="vmm_8c.html#a24d42b4ed2477d387310ddb18e277071" title=" " alt="" coords="476,31,572,57"/>
<area shape="rect" href="vmm_8c.html#a7a6d4d9a52a15d77de91f761855c1a66" title=" " alt="" coords="475,81,573,108"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="300,56,413,83"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="306,107,407,133"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="287,5,427,32"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="137,31,239,57"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,31,89,57"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="146,107,230,133"/>
</map>
</div>

</div>
</div>
<a id="a29400c76283fbe787c88dd899595af2b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a29400c76283fbe787c88dd899595af2b">&#9670;&nbsp;</a></span>boot_alloc_page()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void* boot_alloc_page </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_a29400c76283fbe787c88dd899595af2b_cgraph.gif" border="0" usemap="#apmm_8c_a29400c76283fbe787c88dd899595af2b_cgraph" alt=""/></div>
<map name="apmm_8c_a29400c76283fbe787c88dd899595af2b_cgraph" id="apmm_8c_a29400c76283fbe787c88dd899595af2b_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,133,32"/>
<area shape="rect" href="pmm_8h.html#a3aa177386346f37eaadf16359ef44da7" title=" " alt="" coords="181,5,268,32"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="316,5,395,32"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="443,5,529,32"/>
</map>
</div>

</div>
</div>
<a id="af3af0918f7edad53db84fb434d4553c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3af0918f7edad53db84fb434d4553c1">&#9670;&nbsp;</a></span>boot_map_segment()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void boot_map_segment </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *&#160;</td>
          <td class="paramname"><em>pgdir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td>
          <td class="paramname"><em>la</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a>&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td>
          <td class="paramname"><em>pa</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a>&#160;</td>
          <td class="paramname"><em>perm</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>setup and enable the paging mechanism </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir"></td><td class="paramname">pgdir</td><td>The page dir </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">la</td><td>Linear address of this memory need to map </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>Memory size </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">pa</td><td>Physical address of this memory </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">perm</td><td>The permission of this memory </td></tr>
  </table>
  </dd>
</dl>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_af3af0918f7edad53db84fb434d4553c1_cgraph.gif" border="0" usemap="#apmm_8c_af3af0918f7edad53db84fb434d4553c1_cgraph" alt=""/></div>
<map name="apmm_8c_af3af0918f7edad53db84fb434d4553c1_cgraph" id="apmm_8c_af3af0918f7edad53db84fb434d4553c1_cgraph">
<area shape="rect" title="setup and enable the paging mechanism" alt="" coords="5,157,156,184"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="204,120,275,147"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="331,208,421,235"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="338,5,414,32"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="337,56,415,83"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="477,81,564,108"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="323,157,429,184"/>
</map>
</div>

</div>
</div>
<a id="a9aaa81257f14b4dd426109afeafbdd37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9aaa81257f14b4dd426109afeafbdd37">&#9670;&nbsp;</a></span>check_alloc_page()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void check_alloc_page </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_a9aaa81257f14b4dd426109afeafbdd37_cgraph.gif" border="0" usemap="#apmm_8c_a9aaa81257f14b4dd426109afeafbdd37_cgraph" alt=""/></div>
<map name="apmm_8c_a9aaa81257f14b4dd426109afeafbdd37_cgraph" id="apmm_8c_a9aaa81257f14b4dd426109afeafbdd37_cgraph">
<area shape="rect" title=" " alt="" coords="5,132,143,159"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="191,132,255,159"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="303,132,375,159"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="431,56,497,83"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="423,157,505,184"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="553,5,640,32"/>
<area shape="rect" href="sbi_8h.html#a99638b95984187102dd50b1d0b430d3b" title=" " alt="" coords="688,5,843,32"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="567,56,627,83"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="563,107,631,133"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="559,157,634,184"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="556,208,637,235"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="563,259,630,285"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_a9aaa81257f14b4dd426109afeafbdd37_icgraph.gif" border="0" usemap="#apmm_8c_a9aaa81257f14b4dd426109afeafbdd37_icgraph" alt=""/></div>
<map name="apmm_8c_a9aaa81257f14b4dd426109afeafbdd37_icgraph" id="apmm_8c_a9aaa81257f14b4dd426109afeafbdd37_icgraph">
<area shape="rect" title=" " alt="" coords="137,5,275,32"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="5,5,89,32"/>
</map>
</div>

</div>
</div>
<a id="a64a19ba41a865e4d76a7edef472a25f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64a19ba41a865e4d76a7edef472a25f0">&#9670;&nbsp;</a></span>check_boot_pgdir()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void check_boot_pgdir </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_a64a19ba41a865e4d76a7edef472a25f0_cgraph.gif" border="0" usemap="#apmm_8c_a64a19ba41a865e4d76a7edef472a25f0_cgraph" alt=""/></div>
<map name="apmm_8c_a64a19ba41a865e4d76a7edef472a25f0_cgraph" id="apmm_8c_a64a19ba41a865e4d76a7edef472a25f0_cgraph">
<area shape="rect" title=" " alt="" coords="5,791,141,817"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="215,228,279,255"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="386,309,457,336"/>
<area shape="rect" href="pmm_8c.html#acc1a40cd35d7497eef920fbc9219ff0e" title=" " alt="" coords="189,867,304,893"/>
<area shape="rect" href="pmm_8h.html#a3aa177386346f37eaadf16359ef44da7" title=" " alt="" coords="378,360,465,387"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="197,563,296,589"/>
<area shape="rect" href="pmm_8h.html#ad8e136c060561748245105389a3a40c5" title=" " alt="" coords="555,765,633,792"/>
<area shape="rect" href="pmm_8h.html#ab84f065d9581eef81630b9d4cbb55ce3" title=" " alt="" coords="378,816,465,843"/>
<area shape="rect" href="string_8c.html#a11bd144d7d44914099a3aeddf1c8567d" title=" " alt="" coords="213,917,280,944"/>
<area shape="rect" href="string_8c.html#a1a8e0d046aa6ccaf2c9947e3142e4786" title=" " alt="" coords="215,968,278,995"/>
<area shape="rect" href="string_8c.html#aa383452fe445bfae989358c9d7d96f4f" title=" " alt="" coords="217,1019,276,1045"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="385,157,457,184"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="561,56,627,83"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="553,157,635,184"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="697,5,784,32"/>
<area shape="rect" href="sbi_8h.html#a99638b95984187102dd50b1d0b430d3b" title=" " alt="" coords="832,5,987,32"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="711,157,771,184"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="707,208,775,235"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="703,259,778,285"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="700,56,781,83"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="707,107,774,133"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="556,259,632,285"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="555,360,633,387"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="697,360,784,387"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="549,411,639,437"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="541,208,647,235"/>
<area shape="rect" href="pmm_8h.html#aae21a67a56c29b89be9fd3e8eef6a034" title=" " alt="" coords="539,563,649,589"/>
<area shape="rect" href="pmm_8h.html#a9ebfb8f851299c3580b73617eb99237b" title=" " alt="" coords="369,512,474,539"/>
<area shape="rect" href="pmm_8c.html#a047ec20d182919d237ee4bf278b4695b" title=" " alt="" coords="352,664,491,691"/>
<area shape="rect" href="pmm_8h.html#abd8a44beb459c14597658dbdc0e18881" title=" " alt="" coords="553,715,635,741"/>
<area shape="rect" href="pmm_8c.html#a3a6a3f83d69815b453aea9121f46a6ed" title=" " alt="" coords="539,639,649,665"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="701,765,780,792"/>
<area shape="rect" href="pmm_8h.html#af481d80989da3c646996210195814878" title=" " alt="" coords="702,639,779,665"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_a64a19ba41a865e4d76a7edef472a25f0_icgraph.gif" border="0" usemap="#apmm_8c_a64a19ba41a865e4d76a7edef472a25f0_icgraph" alt=""/></div>
<map name="apmm_8c_a64a19ba41a865e4d76a7edef472a25f0_icgraph" id="apmm_8c_a64a19ba41a865e4d76a7edef472a25f0_icgraph">
<area shape="rect" title=" " alt="" coords="137,5,273,32"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="5,5,89,32"/>
</map>
</div>

</div>
</div>
<a id="abf14b3e5a214e25093c526c6c4b7fe51"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf14b3e5a214e25093c526c6c4b7fe51">&#9670;&nbsp;</a></span>check_pgdir()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void check_pgdir </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_abf14b3e5a214e25093c526c6c4b7fe51_cgraph.gif" border="0" usemap="#apmm_8c_abf14b3e5a214e25093c526c6c4b7fe51_cgraph" alt=""/></div>
<map name="apmm_8c_abf14b3e5a214e25093c526c6c4b7fe51_cgraph" id="apmm_8c_abf14b3e5a214e25093c526c6c4b7fe51_cgraph">
<area shape="rect" title=" " alt="" coords="5,537,105,564"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="179,247,243,273"/>
<area shape="rect" href="pmm_8c.html#ad8d2b93cd8003ac07e8863af1ee60cde" title=" " alt="" coords="169,563,252,589"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="350,411,421,437"/>
<area shape="rect" href="pmm_8h.html#abd8a44beb459c14597658dbdc0e18881" title=" " alt="" coords="517,816,599,843"/>
<area shape="rect" href="pmm_8c.html#acc1a40cd35d7497eef920fbc9219ff0e" title=" " alt="" coords="153,512,268,539"/>
<area shape="rect" href="pmm_8h.html#a3aa177386346f37eaadf16359ef44da7" title=" " alt="" coords="342,309,429,336"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="161,613,260,640"/>
<area shape="rect" href="pmm_8h.html#ad8e136c060561748245105389a3a40c5" title=" " alt="" coords="519,892,597,919"/>
<area shape="rect" href="pmm_8c.html#adae5703d585cd0ce51183278b594bad3" title=" " alt="" coords="155,461,266,488"/>
<area shape="rect" href="pmm_8h.html#ab84f065d9581eef81630b9d4cbb55ce3" title=" " alt="" coords="342,968,429,995"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="349,208,421,235"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="525,208,591,235"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="517,107,599,133"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="661,259,748,285"/>
<area shape="rect" href="sbi_8h.html#a99638b95984187102dd50b1d0b430d3b" title=" " alt="" coords="796,259,951,285"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="675,208,735,235"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="671,5,739,32"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="667,56,742,83"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="664,107,745,133"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="671,157,738,184"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="520,309,596,336"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="519,259,597,285"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="661,360,748,387"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="513,461,603,488"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="505,411,611,437"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="665,885,744,912"/>
<area shape="rect" href="pmm_8h.html#aae21a67a56c29b89be9fd3e8eef6a034" title=" " alt="" coords="503,588,613,615"/>
<area shape="rect" href="pmm_8h.html#a9ebfb8f851299c3580b73617eb99237b" title=" " alt="" coords="333,765,438,792"/>
<area shape="rect" href="pmm_8c.html#a047ec20d182919d237ee4bf278b4695b" title=" " alt="" coords="316,613,455,640"/>
<area shape="rect" href="pmm_8c.html#a3a6a3f83d69815b453aea9121f46a6ed" title=" " alt="" coords="503,664,613,691"/>
<area shape="rect" href="pmm_8h.html#af481d80989da3c646996210195814878" title=" " alt="" coords="666,664,743,691"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_abf14b3e5a214e25093c526c6c4b7fe51_icgraph.gif" border="0" usemap="#apmm_8c_abf14b3e5a214e25093c526c6c4b7fe51_icgraph" alt=""/></div>
<map name="apmm_8c_abf14b3e5a214e25093c526c6c4b7fe51_icgraph" id="apmm_8c_abf14b3e5a214e25093c526c6c4b7fe51_icgraph">
<area shape="rect" title=" " alt="" coords="137,5,237,32"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="5,5,89,32"/>
</map>
</div>

</div>
</div>
<a id="ac6c5d8205e0cd0fe146848228a7a017a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6c5d8205e0cd0fe146848228a7a017a">&#9670;&nbsp;</a></span>enable_paging()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void enable_paging </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="af5bf600e8b5ab88df053b90d965c9482"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5bf600e8b5ab88df053b90d965c9482">&#9670;&nbsp;</a></span>free_pages()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void free_pages </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_page.html">Page</a> *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a>&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_af5bf600e8b5ab88df053b90d965c9482_icgraph.gif" border="0" usemap="#apmm_8c_af5bf600e8b5ab88df053b90d965c9482_icgraph" alt=""/></div>
<map name="apmm_8c_af5bf600e8b5ab88df053b90d965c9482_icgraph" id="apmm_8c_af5bf600e8b5ab88df053b90d965c9482_icgraph">
<area shape="rect" title=" " alt="" coords="788,49,883,76"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="306,5,407,32"/>
<area shape="rect" href="default__pmm_8c.html#a7ed27f53388f855a738e2457f5de682e" title=" " alt="" coords="627,49,740,76"/>
<area shape="rect" href="pmm_8c.html#ab66b2fd61c3ed722ba79fdaab776029f" title=" " alt="" coords="655,100,711,127"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="146,5,230,32"/>
<area shape="rect" href="vmm_8c.html#ad7541e89504d7d084a3d31b67166185e" title=" " alt="" coords="475,75,579,101"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="300,68,413,95"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="287,119,427,145"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="137,81,239,108"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,81,89,108"/>
</map>
</div>

</div>
</div>
<a id="ad8d2b93cd8003ac07e8863af1ee60cde"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8d2b93cd8003ac07e8863af1ee60cde">&#9670;&nbsp;</a></span>get_page()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="struct_page.html">Page</a>* get_page </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *&#160;</td>
          <td class="paramname"><em>pgdir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td>
          <td class="paramname"><em>la</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="memlayout_8h.html#ae97b82aa50ed8ad4c79b1d8b8fb53836">pte_t</a> **&#160;</td>
          <td class="paramname"><em>ptep_store</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_ad8d2b93cd8003ac07e8863af1ee60cde_cgraph.gif" border="0" usemap="#apmm_8c_ad8d2b93cd8003ac07e8863af1ee60cde_cgraph" alt=""/></div>
<map name="apmm_8c_ad8d2b93cd8003ac07e8863af1ee60cde_cgraph" id="apmm_8c_ad8d2b93cd8003ac07e8863af1ee60cde_cgraph">
<area shape="rect" title=" " alt="" coords="5,183,88,209"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="142,132,213,159"/>
<area shape="rect" href="pmm_8h.html#abd8a44beb459c14597658dbdc0e18881" title=" " alt="" coords="136,208,219,235"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="282,5,358,32"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="281,56,359,83"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="421,81,508,108"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="275,157,365,184"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="267,208,373,235"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="281,259,359,285"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_ad8d2b93cd8003ac07e8863af1ee60cde_icgraph.gif" border="0" usemap="#apmm_8c_ad8d2b93cd8003ac07e8863af1ee60cde_icgraph" alt=""/></div>
<map name="apmm_8c_ad8d2b93cd8003ac07e8863af1ee60cde_icgraph" id="apmm_8c_ad8d2b93cd8003ac07e8863af1ee60cde_icgraph">
<area shape="rect" title=" " alt="" coords="285,5,368,32"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="137,5,237,32"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="5,5,89,32"/>
</map>
</div>

</div>
</div>
<a id="a02acb8e4d598f04b9655befb6029d19c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02acb8e4d598f04b9655befb6029d19c">&#9670;&nbsp;</a></span>get_pte()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="memlayout_8h.html#ae97b82aa50ed8ad4c79b1d8b8fb53836">pte_t</a>* get_pte </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *&#160;</td>
          <td class="paramname"><em>pgdir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td>
          <td class="paramname"><em>la</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a1062901a7428fdd9c7f180f5e01ea056">bool</a>&#160;</td>
          <td class="paramname"><em>create</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_a02acb8e4d598f04b9655befb6029d19c_cgraph.gif" border="0" usemap="#apmm_8c_a02acb8e4d598f04b9655befb6029d19c_cgraph" alt=""/></div>
<map name="apmm_8c_a02acb8e4d598f04b9655befb6029d19c_cgraph" id="apmm_8c_a02acb8e4d598f04b9655befb6029d19c_cgraph">
<area shape="rect" title=" " alt="" coords="5,107,76,133"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="139,5,215,32"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="138,56,217,83"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="279,81,365,108"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="132,157,223,184"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="124,208,231,235"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_a02acb8e4d598f04b9655befb6029d19c_icgraph.gif" border="0" usemap="#apmm_8c_a02acb8e4d598f04b9655befb6029d19c_icgraph" alt=""/></div>
<map name="apmm_8c_a02acb8e4d598f04b9655befb6029d19c_icgraph" id="apmm_8c_a02acb8e4d598f04b9655befb6029d19c_icgraph">
<area shape="rect" title=" " alt="" coords="1259,233,1329,260"/>
<area shape="rect" href="pmm_8c.html#af3af0918f7edad53db84fb434d4553c1" title="setup and enable the paging mechanism" alt="" coords="1060,5,1211,32"/>
<area shape="rect" href="pmm_8c.html#a64a19ba41a865e4d76a7edef472a25f0" title=" " alt="" coords="859,56,995,83"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="877,107,977,133"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="347,537,449,564"/>
<area shape="rect" href="vmm_8c.html#a76083b4b497bc14110c89b222892e5a9" title=" " alt="" coords="520,259,611,285"/>
<area shape="rect" href="pmm_8c.html#ad8d2b93cd8003ac07e8863af1ee60cde" title=" " alt="" coords="1094,157,1177,184"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="1086,208,1185,235"/>
<area shape="rect" href="pmm_8c.html#adae5703d585cd0ce51183278b594bad3" title=" " alt="" coords="1080,360,1191,387"/>
<area shape="rect" href="swap_8c.html#af3058f8798ac6b061b6a6ca528ac9932" title=" " alt="" coords="1098,309,1173,336"/>
<area shape="rect" href="swap_8c.html#a8b0c44bb44fc801d843522eefc8b43ac" title=" " alt="" coords="1093,436,1177,463"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="687,81,771,108"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="167,537,251,564"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="336,259,460,285"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="137,259,280,285"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="23,259,71,285"/>
<area shape="rect" href="pmm_8c.html#a682ec852da4ba9f942d14dd940c9dc50" title=" " alt="" coords="663,208,795,235"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="341,436,455,463"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="158,461,259,488"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,461,89,488"/>
<area shape="rect" href="swap_8c.html#ab3052457b47fe22e700ce9d6620b4485" title=" " alt="" coords="843,309,1012,336"/>
<area shape="rect" href="pmm_8c.html#ae2055a0254d79140f1adf784b9b07fea" title=" " alt="" coords="878,461,977,488"/>
<area shape="rect" href="default__pmm_8c.html#a7ed27f53388f855a738e2457f5de682e" title=" " alt="" coords="672,512,785,539"/>
<area shape="rect" href="pmm_8c.html#a8e2dc4d71325ce9ddba783b4289e8e75" title=" " alt="" coords="691,461,766,488"/>
<area shape="rect" href="vmm_8c.html#a24d42b4ed2477d387310ddb18e277071" title=" " alt="" coords="517,461,613,488"/>
<area shape="rect" href="vmm_8c.html#a7a6d4d9a52a15d77de91f761855c1a66" title=" " alt="" coords="516,512,615,539"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="328,487,468,513"/>
</map>
</div>

</div>
</div>
<a id="a1324899ab978eeaf6ead3881ddc1b088"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1324899ab978eeaf6ead3881ddc1b088">&#9670;&nbsp;</a></span>init_memmap()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void init_memmap </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_page.html">Page</a> *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a>&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_a1324899ab978eeaf6ead3881ddc1b088_icgraph.gif" border="0" usemap="#apmm_8c_a1324899ab978eeaf6ead3881ddc1b088_icgraph" alt=""/></div>
<map name="apmm_8c_a1324899ab978eeaf6ead3881ddc1b088_icgraph" id="apmm_8c_a1324899ab978eeaf6ead3881ddc1b088_icgraph">
<area shape="rect" title=" " alt="" coords="268,5,381,32"/>
<area shape="rect" href="pmm_8c.html#acacf21996cd41f3fab68113860df0a22" title=" " alt="" coords="137,5,220,32"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="5,5,89,32"/>
</map>
</div>

</div>
</div>
<a id="aefb49cb1500105bdf41013fd5aa58ac7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aefb49cb1500105bdf41013fd5aa58ac7">&#9670;&nbsp;</a></span>init_pmm_manager()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void init_pmm_manager </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_aefb49cb1500105bdf41013fd5aa58ac7_cgraph.gif" border="0" usemap="#apmm_8c_aefb49cb1500105bdf41013fd5aa58ac7_cgraph" alt=""/></div>
<map name="apmm_8c_aefb49cb1500105bdf41013fd5aa58ac7_cgraph" id="apmm_8c_aefb49cb1500105bdf41013fd5aa58ac7_cgraph">
<area shape="rect" title=" " alt="" coords="5,132,155,159"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="203,132,267,159"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="315,132,387,159"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="443,56,509,83"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="435,157,517,184"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="565,5,652,32"/>
<area shape="rect" href="sbi_8h.html#a99638b95984187102dd50b1d0b430d3b" title=" " alt="" coords="700,5,855,32"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="579,56,639,83"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="575,107,643,133"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="571,157,646,184"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="568,208,649,235"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="575,259,642,285"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_aefb49cb1500105bdf41013fd5aa58ac7_icgraph.gif" border="0" usemap="#apmm_8c_aefb49cb1500105bdf41013fd5aa58ac7_icgraph" alt=""/></div>
<map name="apmm_8c_aefb49cb1500105bdf41013fd5aa58ac7_icgraph" id="apmm_8c_aefb49cb1500105bdf41013fd5aa58ac7_icgraph">
<area shape="rect" title=" " alt="" coords="137,5,287,32"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="5,5,89,32"/>
</map>
</div>

</div>
</div>
<a id="ab66b2fd61c3ed722ba79fdaab776029f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab66b2fd61c3ed722ba79fdaab776029f">&#9670;&nbsp;</a></span>kfree()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void kfree </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>ptr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a>&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_ab66b2fd61c3ed722ba79fdaab776029f_cgraph.gif" border="0" usemap="#apmm_8c_ab66b2fd61c3ed722ba79fdaab776029f_cgraph" alt=""/></div>
<map name="apmm_8c_ab66b2fd61c3ed722ba79fdaab776029f_cgraph" id="apmm_8c_ab66b2fd61c3ed722ba79fdaab776029f_cgraph">
<area shape="rect" title=" " alt="" coords="5,31,61,57"/>
<area shape="rect" href="pmm_8c.html#af5bf600e8b5ab88df053b90d965c9482" title=" " alt="" coords="109,5,204,32"/>
<area shape="rect" href="pmm_8h.html#a9cd9040356b15a1592f57740735b2285" title=" " alt="" coords="113,56,200,83"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="252,56,331,83"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_ab66b2fd61c3ed722ba79fdaab776029f_icgraph.gif" border="0" usemap="#apmm_8c_ab66b2fd61c3ed722ba79fdaab776029f_icgraph" alt=""/></div>
<map name="apmm_8c_ab66b2fd61c3ed722ba79fdaab776029f_icgraph" id="apmm_8c_ab66b2fd61c3ed722ba79fdaab776029f_icgraph">
<area shape="rect" title=" " alt="" coords="627,56,683,83"/>
<area shape="rect" href="vmm_8c.html#ad7541e89504d7d084a3d31b67166185e" title=" " alt="" coords="475,56,579,83"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="300,5,413,32"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="306,107,407,133"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="287,56,427,83"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="137,31,239,57"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,31,89,57"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="146,107,230,133"/>
</map>
</div>

</div>
</div>
<a id="a8e2dc4d71325ce9ddba783b4289e8e75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e2dc4d71325ce9ddba783b4289e8e75">&#9670;&nbsp;</a></span>kmalloc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* kmalloc </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a>&#160;</td>
          <td class="paramname"><em>n</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_a8e2dc4d71325ce9ddba783b4289e8e75_cgraph.gif" border="0" usemap="#apmm_8c_a8e2dc4d71325ce9ddba783b4289e8e75_cgraph" alt=""/></div>
<map name="apmm_8c_a8e2dc4d71325ce9ddba783b4289e8e75_cgraph" id="apmm_8c_a8e2dc4d71325ce9ddba783b4289e8e75_cgraph">
<area shape="rect" title=" " alt="" coords="5,259,80,285"/>
<area shape="rect" href="pmm_8c.html#ae2055a0254d79140f1adf784b9b07fea" title=" " alt="" coords="128,233,227,260"/>
<area shape="rect" href="pmm_8h.html#a3aa177386346f37eaadf16359ef44da7" title=" " alt="" coords="581,259,668,285"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="430,233,494,260"/>
<area shape="rect" href="swap_8c.html#a8b0c44bb44fc801d843522eefc8b43ac" title=" " alt="" coords="275,183,359,209"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="589,309,661,336"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="753,309,818,336"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="744,385,827,412"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="887,284,973,311"/>
<area shape="rect" href="sbi_8h.html#a99638b95984187102dd50b1d0b430d3b" title=" " alt="" coords="1021,284,1176,311"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="900,537,960,564"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="896,335,964,361"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="893,385,967,412"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="889,436,971,463"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="897,487,963,513"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="589,157,660,184"/>
<area shape="rect" href="swapfs_8c.html#a41793685a63e0f8e2d48695566bc75bb" title=" " alt="" coords="408,183,516,209"/>
<area shape="rect" href="pmm_8c.html#a3a6a3f83d69815b453aea9121f46a6ed" title=" " alt="" coords="407,56,517,83"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="747,208,823,235"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="746,259,825,285"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="887,144,973,171"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="740,107,831,133"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="732,157,839,184"/>
<area shape="rect" href="ide_8c.html#a1d381d983b9bc07a2a4b636ed1997174" title=" " alt="" coords="565,107,684,133"/>
<area shape="rect" href="string_8c.html#a18d9a75dd16f2db6609538cb4ddedaf1" title=" " alt="" coords="746,5,825,32"/>
<area shape="rect" href="pmm_8h.html#af481d80989da3c646996210195814878" title=" " alt="" coords="586,56,663,83"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_a8e2dc4d71325ce9ddba783b4289e8e75_icgraph.gif" border="0" usemap="#apmm_8c_a8e2dc4d71325ce9ddba783b4289e8e75_icgraph" alt=""/></div>
<map name="apmm_8c_a8e2dc4d71325ce9ddba783b4289e8e75_icgraph" id="apmm_8c_a8e2dc4d71325ce9ddba783b4289e8e75_icgraph">
<area shape="rect" title=" " alt="" coords="621,56,696,83"/>
<area shape="rect" href="vmm_8c.html#a24d42b4ed2477d387310ddb18e277071" title=" " alt="" coords="476,31,572,57"/>
<area shape="rect" href="vmm_8c.html#a7a6d4d9a52a15d77de91f761855c1a66" title=" " alt="" coords="475,81,573,108"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="300,56,413,83"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="306,107,407,133"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="287,5,427,32"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="137,31,239,57"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,31,89,57"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="146,107,230,133"/>
</map>
</div>

</div>
</div>
<a id="acc1a40cd35d7497eef920fbc9219ff0e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc1a40cd35d7497eef920fbc9219ff0e">&#9670;&nbsp;</a></span>nr_free_pages()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a> nr_free_pages </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_acc1a40cd35d7497eef920fbc9219ff0e_icgraph.gif" border="0" usemap="#apmm_8c_acc1a40cd35d7497eef920fbc9219ff0e_icgraph" alt=""/></div>
<map name="apmm_8c_acc1a40cd35d7497eef920fbc9219ff0e_icgraph" id="apmm_8c_acc1a40cd35d7497eef920fbc9219ff0e_icgraph">
<area shape="rect" title=" " alt="" coords="475,157,589,184"/>
<area shape="rect" href="pmm_8c.html#a64a19ba41a865e4d76a7edef472a25f0" title=" " alt="" coords="289,5,425,32"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="307,56,407,83"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="300,107,413,133"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="137,157,239,184"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="306,259,407,285"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="287,208,427,235"/>
<area shape="rect" href="default__pmm_8c.html#a7ed27f53388f855a738e2457f5de682e" title=" " alt="" coords="300,309,413,336"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="146,31,230,57"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,157,89,184"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="146,259,230,285"/>
</map>
</div>

</div>
</div>
<a id="acacf21996cd41f3fab68113860df0a22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acacf21996cd41f3fab68113860df0a22">&#9670;&nbsp;</a></span>page_init()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void page_init </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_acacf21996cd41f3fab68113860df0a22_cgraph.gif" border="0" usemap="#apmm_8c_acacf21996cd41f3fab68113860df0a22_cgraph" alt=""/></div>
<map name="apmm_8c_acacf21996cd41f3fab68113860df0a22_cgraph" id="apmm_8c_acacf21996cd41f3fab68113860df0a22_cgraph">
<area shape="rect" title=" " alt="" coords="5,183,88,209"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="161,132,225,159"/>
<area shape="rect" href="pmm_8c.html#a1324899ab978eeaf6ead3881ddc1b088" title=" " alt="" coords="136,183,249,209"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="153,233,232,260"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="297,132,369,159"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="426,56,491,83"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="417,157,500,184"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="548,5,635,32"/>
<area shape="rect" href="sbi_8h.html#a99638b95984187102dd50b1d0b430d3b" title=" " alt="" coords="683,5,837,32"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="561,56,621,83"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="557,107,625,133"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="554,157,629,184"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="551,208,632,235"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="558,259,625,285"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_acacf21996cd41f3fab68113860df0a22_icgraph.gif" border="0" usemap="#apmm_8c_acacf21996cd41f3fab68113860df0a22_icgraph" alt=""/></div>
<map name="apmm_8c_acacf21996cd41f3fab68113860df0a22_icgraph" id="apmm_8c_acacf21996cd41f3fab68113860df0a22_icgraph">
<area shape="rect" title=" " alt="" coords="137,5,220,32"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="5,5,89,32"/>
</map>
</div>

</div>
</div>
<a id="a6fa283dec28e3409f8f4b6d35860cb4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6fa283dec28e3409f8f4b6d35860cb4b">&#9670;&nbsp;</a></span>page_insert()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int page_insert </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *&#160;</td>
          <td class="paramname"><em>pgdir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="struct_page.html">Page</a> *&#160;</td>
          <td class="paramname"><em>page</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td>
          <td class="paramname"><em>la</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a>&#160;</td>
          <td class="paramname"><em>perm</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_a6fa283dec28e3409f8f4b6d35860cb4b_cgraph.gif" border="0" usemap="#apmm_8c_a6fa283dec28e3409f8f4b6d35860cb4b_cgraph" alt=""/></div>
<map name="apmm_8c_a6fa283dec28e3409f8f4b6d35860cb4b_cgraph" id="apmm_8c_a6fa283dec28e3409f8f4b6d35860cb4b_cgraph">
<area shape="rect" title=" " alt="" coords="5,285,104,312"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="186,133,257,160"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="497,6,584,33"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="349,209,439,236"/>
<area shape="rect" href="pmm_8h.html#aae21a67a56c29b89be9fd3e8eef6a034" title=" " alt="" coords="339,260,449,286"/>
<area shape="rect" href="pmm_8h.html#a9ebfb8f851299c3580b73617eb99237b" title=" " alt="" coords="169,462,274,489"/>
<area shape="rect" href="pmm_8c.html#a047ec20d182919d237ee4bf278b4695b" title=" " alt="" coords="152,310,291,337"/>
<area shape="rect" href="pmm_8h.html#abd8a44beb459c14597658dbdc0e18881" title=" " alt="" coords="353,361,435,388"/>
<area shape="rect" href="pmm_8c.html#a3a6a3f83d69815b453aea9121f46a6ed" title=" " alt="" coords="339,412,449,438"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="356,158,432,185"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="355,108,433,134"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="341,57,447,84"/>
<area shape="rect" href="pmm_8h.html#ad8e136c060561748245105389a3a40c5" title=" " alt="" coords="355,310,433,337"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="501,361,580,388"/>
<area shape="rect" href="pmm_8h.html#af481d80989da3c646996210195814878" title=" " alt="" coords="502,412,579,438"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_a6fa283dec28e3409f8f4b6d35860cb4b_icgraph.gif" border="0" usemap="#apmm_8c_a6fa283dec28e3409f8f4b6d35860cb4b_icgraph" alt=""/></div>
<map name="apmm_8c_a6fa283dec28e3409f8f4b6d35860cb4b_icgraph" id="apmm_8c_a6fa283dec28e3409f8f4b6d35860cb4b_icgraph">
<area shape="rect" title=" " alt="" coords="787,81,885,108"/>
<area shape="rect" href="pmm_8c.html#a64a19ba41a865e4d76a7edef472a25f0" title=" " alt="" coords="603,5,739,32"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="621,56,721,83"/>
<area shape="rect" href="vmm_8c.html#a76083b4b497bc14110c89b222892e5a9" title=" " alt="" coords="464,120,555,147"/>
<area shape="rect" href="pmm_8c.html#a682ec852da4ba9f942d14dd940c9dc50" title=" " alt="" coords="605,157,737,184"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="467,44,551,71"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="292,120,416,147"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="101,120,244,147"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="5,120,53,147"/>
</map>
</div>

</div>
</div>
<a id="adae5703d585cd0ce51183278b594bad3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adae5703d585cd0ce51183278b594bad3">&#9670;&nbsp;</a></span>page_remove()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void page_remove </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *&#160;</td>
          <td class="paramname"><em>pgdir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td>
          <td class="paramname"><em>la</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_adae5703d585cd0ce51183278b594bad3_cgraph.gif" border="0" usemap="#apmm_8c_adae5703d585cd0ce51183278b594bad3_cgraph" alt=""/></div>
<map name="apmm_8c_adae5703d585cd0ce51183278b594bad3_cgraph" id="apmm_8c_adae5703d585cd0ce51183278b594bad3_cgraph">
<area shape="rect" title=" " alt="" coords="5,233,116,260"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="198,132,269,159"/>
<area shape="rect" href="pmm_8c.html#a047ec20d182919d237ee4bf278b4695b" title=" " alt="" coords="164,309,303,336"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="368,5,444,32"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="367,56,445,83"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="509,81,596,108"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="361,157,451,184"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="353,208,459,235"/>
<area shape="rect" href="pmm_8h.html#ad8e136c060561748245105389a3a40c5" title=" " alt="" coords="367,259,445,285"/>
<area shape="rect" href="pmm_8h.html#aae21a67a56c29b89be9fd3e8eef6a034" title=" " alt="" coords="351,309,461,336"/>
<area shape="rect" href="pmm_8h.html#abd8a44beb459c14597658dbdc0e18881" title=" " alt="" coords="365,360,447,387"/>
<area shape="rect" href="pmm_8c.html#a3a6a3f83d69815b453aea9121f46a6ed" title=" " alt="" coords="351,411,461,437"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="513,360,592,387"/>
<area shape="rect" href="pmm_8h.html#af481d80989da3c646996210195814878" title=" " alt="" coords="514,411,591,437"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_adae5703d585cd0ce51183278b594bad3_icgraph.gif" border="0" usemap="#apmm_8c_adae5703d585cd0ce51183278b594bad3_icgraph" alt=""/></div>
<map name="apmm_8c_adae5703d585cd0ce51183278b594bad3_icgraph" id="apmm_8c_adae5703d585cd0ce51183278b594bad3_icgraph">
<area shape="rect" title=" " alt="" coords="448,31,559,57"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="293,5,393,32"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="287,56,400,83"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="146,5,230,32"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="137,56,239,83"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,56,89,83"/>
</map>
</div>

</div>
</div>
<a id="a047ec20d182919d237ee4bf278b4695b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a047ec20d182919d237ee4bf278b4695b">&#9670;&nbsp;</a></span>page_remove_pte()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void page_remove_pte </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *&#160;</td>
          <td class="paramname"><em>pgdir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td>
          <td class="paramname"><em>la</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="memlayout_8h.html#ae97b82aa50ed8ad4c79b1d8b8fb53836">pte_t</a> *&#160;</td>
          <td class="paramname"><em>ptep</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_a047ec20d182919d237ee4bf278b4695b_cgraph.gif" border="0" usemap="#apmm_8c_a047ec20d182919d237ee4bf278b4695b_cgraph" alt=""/></div>
<map name="apmm_8c_a047ec20d182919d237ee4bf278b4695b_cgraph" id="apmm_8c_a047ec20d182919d237ee4bf278b4695b_cgraph">
<area shape="rect" title=" " alt="" coords="5,81,144,108"/>
<area shape="rect" href="pmm_8h.html#ad8e136c060561748245105389a3a40c5" title=" " alt="" coords="208,5,287,32"/>
<area shape="rect" href="pmm_8h.html#aae21a67a56c29b89be9fd3e8eef6a034" title=" " alt="" coords="193,56,302,83"/>
<area shape="rect" href="pmm_8h.html#abd8a44beb459c14597658dbdc0e18881" title=" " alt="" coords="206,107,289,133"/>
<area shape="rect" href="pmm_8c.html#a3a6a3f83d69815b453aea9121f46a6ed" title=" " alt="" coords="192,157,303,184"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="351,107,429,133"/>
<area shape="rect" href="pmm_8h.html#af481d80989da3c646996210195814878" title=" " alt="" coords="351,157,429,184"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_a047ec20d182919d237ee4bf278b4695b_icgraph.gif" border="0" usemap="#apmm_8c_a047ec20d182919d237ee4bf278b4695b_icgraph" alt=""/></div>
<map name="apmm_8c_a047ec20d182919d237ee4bf278b4695b_icgraph" id="apmm_8c_a047ec20d182919d237ee4bf278b4695b_icgraph">
<area shape="rect" title=" " alt="" coords="956,108,1095,135"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="803,83,902,109"/>
<area shape="rect" href="pmm_8c.html#adae5703d585cd0ce51183278b594bad3" title=" " alt="" coords="797,133,908,160"/>
<area shape="rect" href="pmm_8c.html#a64a19ba41a865e4d76a7edef472a25f0" title=" " alt="" coords="613,83,749,109"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="631,133,731,160"/>
<area shape="rect" href="vmm_8c.html#a76083b4b497bc14110c89b222892e5a9" title=" " alt="" coords="469,7,560,33"/>
<area shape="rect" href="pmm_8c.html#a682ec852da4ba9f942d14dd940c9dc50" title=" " alt="" coords="615,32,747,59"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="473,108,557,135"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="292,7,416,33"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="101,7,244,33"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="5,7,53,33"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="625,184,738,211"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="464,184,565,211"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="312,184,396,211"/>
</map>
</div>

</div>
</div>
<a id="a682ec852da4ba9f942d14dd940c9dc50"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a682ec852da4ba9f942d14dd940c9dc50">&#9670;&nbsp;</a></span>pgdir_alloc_page()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="struct_page.html">Page</a>* pgdir_alloc_page </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *&#160;</td>
          <td class="paramname"><em>pgdir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td>
          <td class="paramname"><em>la</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a>&#160;</td>
          <td class="paramname"><em>perm</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_a682ec852da4ba9f942d14dd940c9dc50_cgraph.gif" border="0" usemap="#apmm_8c_a682ec852da4ba9f942d14dd940c9dc50_cgraph" alt=""/></div>
<map name="apmm_8c_a682ec852da4ba9f942d14dd940c9dc50_cgraph" id="apmm_8c_a682ec852da4ba9f942d14dd940c9dc50_cgraph">
<area shape="rect" title=" " alt="" coords="5,639,137,665"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="403,639,501,665"/>
<area shape="rect" href="pmm_8h.html#ad8e136c060561748245105389a3a40c5" title=" " alt="" coords="754,828,833,855"/>
<area shape="rect" href="swap_8c.html#ab3052457b47fe22e700ce9d6620b4485" title=" " alt="" coords="185,461,355,488"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="583,411,654,437"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="1029,309,1116,336"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="748,512,839,539"/>
<area shape="rect" href="pmm_8h.html#aae21a67a56c29b89be9fd3e8eef6a034" title=" " alt="" coords="739,689,848,716"/>
<area shape="rect" href="pmm_8h.html#a9ebfb8f851299c3580b73617eb99237b" title=" " alt="" coords="566,765,671,792"/>
<area shape="rect" href="pmm_8c.html#a047ec20d182919d237ee4bf278b4695b" title=" " alt="" coords="549,715,688,741"/>
<area shape="rect" href="pmm_8h.html#abd8a44beb459c14597658dbdc0e18881" title=" " alt="" coords="752,627,835,653"/>
<area shape="rect" href="pmm_8c.html#a3a6a3f83d69815b453aea9121f46a6ed" title=" " alt="" coords="738,752,849,779"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="755,360,831,387"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="901,259,979,285"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="740,411,847,437"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="901,627,979,653"/>
<area shape="rect" href="pmm_8h.html#af481d80989da3c646996210195814878" title=" " alt="" coords="901,752,979,779"/>
<area shape="rect" href="swap_8c.html#af3058f8798ac6b061b6a6ca528ac9932" title=" " alt="" coords="415,335,489,361"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="587,183,651,209"/>
<area shape="rect" href="swapfs_8c.html#a351ae62e17ae15d0be227ee49b1b526f" title=" " alt="" coords="567,259,671,285"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="757,157,829,184"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="907,56,973,83"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="899,157,981,184"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="1029,5,1116,32"/>
<area shape="rect" href="sbi_8h.html#a99638b95984187102dd50b1d0b430d3b" title=" " alt="" coords="1164,5,1319,32"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="1043,107,1103,133"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="1039,157,1107,184"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="1035,208,1110,235"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="1032,259,1113,285"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="1039,56,1106,83"/>
<area shape="rect" href="ide_8c.html#aa3e3300bda460455ef67f4f0b7861e5f" title=" " alt="" coords="736,208,851,235"/>
<area shape="rect" href="pmm_8h.html#a3aa177386346f37eaadf16359ef44da7" title=" " alt="" coords="750,259,837,285"/>
<area shape="rect" href="string_8c.html#a18d9a75dd16f2db6609538cb4ddedaf1" title=" " alt="" coords="901,208,979,235"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_a682ec852da4ba9f942d14dd940c9dc50_icgraph.gif" border="0" usemap="#apmm_8c_a682ec852da4ba9f942d14dd940c9dc50_icgraph" alt=""/></div>
<map name="apmm_8c_a682ec852da4ba9f942d14dd940c9dc50_icgraph" id="apmm_8c_a682ec852da4ba9f942d14dd940c9dc50_icgraph">
<area shape="rect" title=" " alt="" coords="603,5,735,32"/>
<area shape="rect" href="vmm_8c.html#a76083b4b497bc14110c89b222892e5a9" title=" " alt="" coords="464,5,555,32"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="292,5,416,32"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="101,5,244,32"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="5,5,53,32"/>
</map>
</div>

</div>
</div>
<a id="af4a8f7b822fc87d04d74adeb3b2ce6da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4a8f7b822fc87d04d74adeb3b2ce6da">&#9670;&nbsp;</a></span>pmm_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pmm_init </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_af4a8f7b822fc87d04d74adeb3b2ce6da_cgraph.gif" border="0" usemap="#apmm_8c_af4a8f7b822fc87d04d74adeb3b2ce6da_cgraph" alt=""/></div>
<map name="apmm_8c_af4a8f7b822fc87d04d74adeb3b2ce6da_cgraph" id="apmm_8c_af4a8f7b822fc87d04d74adeb3b2ce6da_cgraph">
<area shape="rect" title=" " alt="" coords="5,360,89,387"/>
<area shape="rect" href="pmm_8c.html#a9aaa81257f14b4dd426109afeafbdd37" title=" " alt="" coords="143,227,281,253"/>
<area shape="rect" href="pmm_8c.html#a64a19ba41a865e4d76a7edef472a25f0" title=" " alt="" coords="144,360,280,387"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="162,524,262,551"/>
<area shape="rect" href="pmm_8c.html#aefb49cb1500105bdf41013fd5aa58ac7" title=" " alt="" coords="137,284,287,311"/>
<area shape="rect" href="pmm_8c.html#acacf21996cd41f3fab68113860df0a22" title=" " alt="" coords="171,752,253,779"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="360,220,424,247"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="531,132,603,159"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="707,44,772,71"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="698,132,781,159"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="843,5,929,32"/>
<area shape="rect" href="sbi_8h.html#a99638b95984187102dd50b1d0b430d3b" title=" " alt="" coords="977,5,1132,32"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="856,208,916,235"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="852,259,920,285"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="849,56,923,83"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="845,107,927,133"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="853,157,919,184"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="531,423,602,449"/>
<area shape="rect" href="pmm_8c.html#acc1a40cd35d7497eef920fbc9219ff0e" title=" " alt="" coords="335,423,449,449"/>
<area shape="rect" href="pmm_8h.html#a3aa177386346f37eaadf16359ef44da7" title=" " alt="" coords="349,372,435,399"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="343,473,441,500"/>
<area shape="rect" href="pmm_8h.html#ad8e136c060561748245105389a3a40c5" title=" " alt="" coords="700,651,779,677"/>
<area shape="rect" href="pmm_8h.html#ab84f065d9581eef81630b9d4cbb55ce3" title=" " alt="" coords="349,777,435,804"/>
<area shape="rect" href="string_8c.html#a11bd144d7d44914099a3aeddf1c8567d" title=" " alt="" coords="359,271,425,297"/>
<area shape="rect" href="string_8c.html#a1a8e0d046aa6ccaf2c9947e3142e4786" title=" " alt="" coords="361,119,423,145"/>
<area shape="rect" href="string_8c.html#aa383452fe445bfae989358c9d7d96f4f" title=" " alt="" coords="363,169,421,196"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="701,448,777,475"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="700,296,779,323"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="843,309,929,336"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="694,347,785,373"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="686,499,793,525"/>
<area shape="rect" href="pmm_8h.html#aae21a67a56c29b89be9fd3e8eef6a034" title=" " alt="" coords="685,600,794,627"/>
<area shape="rect" href="pmm_8h.html#a9ebfb8f851299c3580b73617eb99237b" title=" " alt="" coords="514,372,619,399"/>
<area shape="rect" href="pmm_8c.html#a047ec20d182919d237ee4bf278b4695b" title=" " alt="" coords="497,575,636,601"/>
<area shape="rect" href="pmm_8h.html#abd8a44beb459c14597658dbdc0e18881" title=" " alt="" coords="698,777,781,804"/>
<area shape="rect" href="pmm_8c.html#a3a6a3f83d69815b453aea9121f46a6ed" title=" " alt="" coords="684,549,795,576"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="847,879,925,905"/>
<area shape="rect" href="pmm_8h.html#af481d80989da3c646996210195814878" title=" " alt="" coords="847,549,925,576"/>
<area shape="rect" href="pmm_8c.html#ad8d2b93cd8003ac07e8863af1ee60cde" title=" " alt="" coords="351,727,433,753"/>
<area shape="rect" href="pmm_8c.html#adae5703d585cd0ce51183278b594bad3" title=" " alt="" coords="337,575,447,601"/>
<area shape="rect" href="pmm_8c.html#a1324899ab978eeaf6ead3881ddc1b088" title=" " alt="" coords="335,980,449,1007"/>
</map>
</div>

</div>
</div>
<a id="a3a6a3f83d69815b453aea9121f46a6ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a6a3f83d69815b453aea9121f46a6ed">&#9670;&nbsp;</a></span>tlb_invalidate()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tlb_invalidate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *&#160;</td>
          <td class="paramname"><em>pgdir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td>
          <td class="paramname"><em>la</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_a3a6a3f83d69815b453aea9121f46a6ed_cgraph.gif" border="0" usemap="#apmm_8c_a3a6a3f83d69815b453aea9121f46a6ed_cgraph" alt=""/></div>
<map name="apmm_8c_a3a6a3f83d69815b453aea9121f46a6ed_cgraph" id="apmm_8c_a3a6a3f83d69815b453aea9121f46a6ed_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,116,32"/>
<area shape="rect" href="pmm_8h.html#af481d80989da3c646996210195814878" title=" " alt="" coords="164,5,241,32"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8c_a3a6a3f83d69815b453aea9121f46a6ed_icgraph.gif" border="0" usemap="#apmm_8c_a3a6a3f83d69815b453aea9121f46a6ed_icgraph" alt=""/></div>
<map name="apmm_8c_a3a6a3f83d69815b453aea9121f46a6ed_icgraph" id="apmm_8c_a3a6a3f83d69815b453aea9121f46a6ed_icgraph">
<area shape="rect" title=" " alt="" coords="1192,133,1303,160"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="853,83,951,109"/>
<area shape="rect" href="pmm_8c.html#a047ec20d182919d237ee4bf278b4695b" title=" " alt="" coords="1005,133,1144,160"/>
<area shape="rect" href="swap_8c.html#a8b0c44bb44fc801d843522eefc8b43ac" title=" " alt="" coords="1033,209,1117,236"/>
<area shape="rect" href="pmm_8c.html#a64a19ba41a865e4d76a7edef472a25f0" title=" " alt="" coords="663,83,799,109"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="681,133,781,160"/>
<area shape="rect" href="vmm_8c.html#a76083b4b497bc14110c89b222892e5a9" title=" " alt="" coords="520,7,611,33"/>
<area shape="rect" href="pmm_8c.html#a682ec852da4ba9f942d14dd940c9dc50" title=" " alt="" coords="665,32,797,59"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="523,108,607,135"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="336,7,460,33"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="137,7,280,33"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="23,7,71,33"/>
<area shape="rect" href="pmm_8c.html#adae5703d585cd0ce51183278b594bad3" title=" " alt="" coords="847,133,957,160"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="341,184,455,211"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="158,209,259,236"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,209,89,236"/>
<area shape="rect" href="pmm_8c.html#ae2055a0254d79140f1adf784b9b07fea" title=" " alt="" coords="853,235,951,261"/>
<area shape="rect" href="default__pmm_8c.html#a7ed27f53388f855a738e2457f5de682e" title=" " alt="" coords="674,235,787,261"/>
<area shape="rect" href="pmm_8c.html#a8e2dc4d71325ce9ddba783b4289e8e75" title=" " alt="" coords="693,285,768,312"/>
<area shape="rect" href="vmm_8c.html#a24d42b4ed2477d387310ddb18e277071" title=" " alt="" coords="517,285,613,312"/>
<area shape="rect" href="vmm_8c.html#a7a6d4d9a52a15d77de91f761855c1a66" title=" " alt="" coords="516,235,615,261"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="347,285,449,312"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="328,235,468,261"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="167,285,251,312"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">变量说明</h2>
<a id="a98084074f2524047e21ca23ca88c837b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98084074f2524047e21ca23ca88c837b">&#9670;&nbsp;</a></span>boot_cr3</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> boot_cr3</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a0e27015f20756014fc8a45df69e7ddb6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e27015f20756014fc8a45df69e7ddb6">&#9670;&nbsp;</a></span>boot_pgdir</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a>* boot_pgdir = <a class="el" href="defs_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ae7ebf0f48e3e27066f5ce9c2f31707a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7ebf0f48e3e27066f5ce9c2f31707a1">&#9670;&nbsp;</a></span>nbase</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a> nbase = <a class="el" href="riscv_8h.html#af664e1a9045803369e50e29fdc1ca530">DRAM_BASE</a> / <a class="el" href="mmu_8h.html#a5f96cb6ae6670e023c407cc2f77e1704">PGSIZE</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a7d8e8c6eeec8c5e988ecea5d898e7737"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d8e8c6eeec8c5e988ecea5d898e7737">&#9670;&nbsp;</a></span>npage</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a> npage = 0</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a5c8561a52c4cda29a9be7dc7be92c771"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c8561a52c4cda29a9be7dc7be92c771">&#9670;&nbsp;</a></span>pages</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="struct_page.html">Page</a>* pages</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a0cd8b7454d0faea627c35ad822ef9a4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0cd8b7454d0faea627c35ad822ef9a4a">&#9670;&nbsp;</a></span>pmm_manager</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const struct <a class="el" href="structpmm__manager.html">pmm_manager</a>* <a class="el" href="structpmm__manager.html">pmm_manager</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a34eba112423c8481417b93f8dd0f9ee6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34eba112423c8481417b93f8dd0f9ee6">&#9670;&nbsp;</a></span>va_pa_offset</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint_t va_pa_offset</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
